﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KingSite.SyncDB.Core.Entity {
    public class ColumnEntity {
        public int Id { get; set; }
        public int DbId { get; set; }
        public string DbName { get; set; }
        public int TableId { get; set; }
        public string TableName { get; set; }
        public string ColumnName { get; set; }
        /// <summary>
        /// 列是否是主键
        /// </summary>
        public bool IsPrimaryKey { get; set; }
        /// <summary>
        /// 列是否自增
        /// </summary>
        public bool IsAutoIdentity { get; set; }
    }
}
